package com.zz.ecommerce.common.bean;

import java.math.BigDecimal;

/**
 * Created by admin on 2016/3/28.
 */
public class TableBean {
    private String tableName;
    private String columnName;
    private String dataType;
    private String comments;
    private BigDecimal dataLength;
    private BigDecimal dataPrecision;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public BigDecimal getDataLength() {
        return dataLength;
    }

    public void setDataLength(BigDecimal dataLength) {
        this.dataLength = dataLength;
    }

    public BigDecimal getDataPrecision() {
        return dataPrecision;
    }

    public void setDataPrecision(BigDecimal dataPrecision) {
        this.dataPrecision = dataPrecision;
    }

    @Override
    public String toString() {
        return "TableBean{" +
                "tableName='" + tableName + '\'' +
                ", columnName='" + columnName + '\'' +
                ", dataType='" + dataType + '\'' +
                ", comments='" + comments + '\'' +
                ", dataLength=" + dataLength +
                ", dataPrecision=" + dataPrecision +
                '}';
    }
}
